
age = int(input("请输入你的年龄: "))
if age < 0:
    print("输入错误，年龄不能为负数")
elif age <= 6:
    print("你是儿童")
elif age < 18:
    print("你是青少年")
elif age >= 40:
    print("您已成年，游玩需要补票10元")
print("祝您游玩愉快")